<?php
    include("./../dbconn.php");

   $username = $_GET["username"];
   $tel = $_GET["tel"];
   $pw = $_GET["pw"];
    
   $sql = "insert into platinum_member (username, tel, pw) values('$username', '$tel', '$pw')";
   
   if($conn->query($sql) === true){
        $result["code"] = 0;
   }else{
       $result["code"] = 1;
   }
   echo json_encode($result);
?>